import fetch from 'utils/fetch';
import axios from 'axios'
// 导出
export function exprotXls() {
  return fetch({
    url: '/api/cb/flFactory/exprotXls',
    responseType: 'blob',
    method: 'get'
  });
}
// 导入
export function importXls(obj) {
  return fetch({
    url: '/api/cb/flFactory/importXls',
    method: 'post',
    data: obj
  });
}
// 下载模板
export function downTem() {
  return fetch({
    url: '/api/cb/flFactory/exprotExcelModel',
    responseType: 'blob',
    // responseType: 'arraybuffer',
    method: 'get'
  });
}
